package com.atqinke.designpattern.structuraltype.adapter.classadapter;

/**
 * @BelongsProject: BasicConnection
 * @BelongsPackage: com.atqinke.DesignPattern.structuraltype.adapter.classadapter
 * @Author: NieHk
 * @CreateTime: 2022-08-26  16:21
 * @Description: 电脑类
 * @Version: 1.0
 */
public class Computer {

    public String readSD(SDCard sdCard) {
        if(sdCard == null) {
            throw new NullPointerException("sd card null");
        }
        return sdCard.readSD();
    }
}
